<template>
	<view>
		<image src="../../static/image/icon_fail.png" mode="widthFix" class="w190 auto mt240 mb28"></image>
		<view class="fz36 pb10 tac">支付失败</view>
		<view class="fz28 tf_999 tac">支付遇到问题，请尝试重新支付</view>
		<view class="mt120 dis_f jc">
			<view  class="w240 lh80 tf_999 radius50 fz30 border tac" @click="goOrderDetail">查看详情</view>
			<!-- <view  class="w240 lh80 tf radius50 fz30 tac ml40" style="background-image: linear-gradient(#FE2E27,#FE877F);">重新支付</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				state:'',
			}
		},
		onLoad(option) {
			console.log(option.state);
			this.state = option.state
		},
		methods: {
			goOrderDetail(){
				if(this.state==1){
					uni.redirectTo({
						url:'../../page_user/mineOrder/mineOrder'
					})
				}else{
					uni.redirectTo({
						url:'../../page_store/storeOrder/storeOrder'
					})
				}

			}
		}
	}
</script>

<style>

</style>
